package com.jrx.anytxn.param.enums;/**
 * OrderStateEnum
 *
 * @author lujianyou
 * @Description TODO
 * @Date 2021/6/3 21:36
 * @Version 1.0
 **/

/**
 * ClassName OrderStateEnum
 *
 * @author lujianyou
 * @version 1.0
 * @description 权益平台下单处理状态 枚举类
 * @date 2021/6/3 21:36
 **/
public enum OrderStateEnum {

    PROCESSING("0","处理中"),
    NOT_PROCESSED("1","未处理"),
    SUCCESS("2","成功"),
    FAIL("3","失败"),
    EXCEPTION("4","异常");

    private String description;
    private String code;


    OrderStateEnum(String code, String description){
        this.code=code;
        this.description=description;
    }


    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
